package com.tsj.model.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 绑定前缀为 "ledger.cost" 的所有配置
 *
 * @author taoshujian
 * @version 1.0
 * @since 2025-11-12 10:32:55
 */
//
@Component
@ConfigurationProperties(prefix = "ledger.cost")
@Data
public class LedgerCostProperties {

    // 字段名与配置项后缀对应（template-file-id → templateFileId，自动驼峰转换）
    private Long templateFileId;
}
